package com.guigu.www.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.guigu.www.pojo.Roles;

import java.util.List;

public interface RolesMapper extends BaseMapper<Roles> {
    //查询所有角色
    public List<Roles> queryall();
    //查询当前用户的所有角色
    public List<Integer> querybyuserid(int userid);

    public List<Integer> querryByusersRoleByusername(int userid);

}
